
    /**  
    * @Title: CommonBusLogController.java
    * @Package com.efast.cafe.portal.controller.common
    * @Description: TODO(用一句话描述该文件做什么)
    * @author Administrator
    * @date 2018年8月30日
    * @version V1.0  
    */
    
package com.efast.cafe.portal.controller.common;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.cafe.commponent.log.bean.LogInfoQueryBean;
import com.efast.cafe.commponent.log.service.LogServiceFactory;
import com.efast.cafe.commponent.log.service.LogStorageService;
import com.efast.cafe.framework.bean.ResultBean;
import com.efast.cafe.framework.util.SpringWebUtils;
import com.efast.cafe.util.ConfigUtil;

/**
    * @ClassName: CommonBusLogController
    * @Description: TODO(这里用一句话描述这个类的作用)
    * @author Administrator
    * @date 2018年8月30日
    *
    */
@Controller
public class CommonBusLogController {
	
	
	@RequestMapping(value = "/frame_center/common/log_list")
	public @ResponseBody ResultBean portalparameterList(HttpServletRequest request,
	    @RequestBody LogInfoQueryBean logInfoQueryBean) {
		ResultBean result = new ResultBean(true, "");
		LogStorageService logStorageService = LogServiceFactory.getService();
		//logInfoQueryBean.setCompanyCode(SpringWebUtils.getRequestCompany());
		logInfoQueryBean.setSystemNo(ConfigUtil.getSystemIndentifier());
		result.setObject(logStorageService.queryPage(logInfoQueryBean));
		return result;
	}
	
}
